package com.qiaofang.applet.service.property.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Set;

@Data
@ApiModel("房源查询条件DTO")
public class PropertyQueryDto {

    @ApiModelProperty("城市")
    private String cityCode;

    @ApiModelProperty("区域UUID")
    private String districtUuid;

    @ApiModelProperty("区域名称 20同步数据无区域uuid")
    private String districtName;

    @ApiModelProperty("商圈UUID")
    private String areaUuid;

    @ApiModelProperty("商圈名称 20同步数据无商圈uuid")
    private String areaName;

    @ApiModelProperty("楼盘UUID")
    private String estateUuid;

    @ApiModelProperty("楼盘唯一UUID")
    private String estateUniqueUuid;

    @ApiModelProperty("楼盘名称")
    private String estateName;

    @ApiModelProperty("房")
    private Integer countF;

    @ApiModelProperty("最小面积")
    private BigDecimal minSquare;

    @ApiModelProperty("最大面积")
    private BigDecimal maxSquare;

    @ApiModelProperty("朝向")
    private String direction;

    @ApiModelProperty("楼层 高层/中层/低层")
    private String floorRange;

    @ApiModelProperty("电梯 true:有电梯 false:无电梯")
    private Boolean elevator;

    @ApiModelProperty("装修")
    private String decoration;

    @ApiModelProperty("是否有VR")
    private Boolean existVr;

    @ApiModelProperty("是否主推")
    private Boolean recommend;

    @ApiModelProperty("房源状态 已租/已售 在租/在售")
    private String tradeStatus;

    @ApiModelProperty("排序 0最新发布,1售价从低到高,2售价从高到低,3售单价从低到高,4售单价从高到低,5面积从小到大,6面积从大到小,9租价从低到高,10租价从高到低")
    private int sort;

    @ApiModelProperty("房源UUID集合")
    private List<String> propertyUuids;

    @ApiModelProperty("房源唯一UUID集合")
    private List<String> propertyUniqueUuids;

    @ApiModelProperty("排除房源唯一UUID集合")
    private List<String> notPropertyUniqueUuids;

    @ApiModelProperty("主题ID")
    private String topicId;

    @ApiModelProperty("经纪人UUID 排除已选的房源")
    private String employeeUniqueUuid;

    @ApiModelProperty(value = "集团Code", hidden = true)
    private String corporationCode;

    @ApiModelProperty(value = "上架/下架")
    private String upDownFlag;

    @ApiModelProperty(value = "模糊查询字段")
    private String fuzzyQueryStr;

    @ApiModelProperty("户型图片UUID")
    private String photoUuid;

    //KAD-8630新增字段
    @ApiModelProperty("是否有效")
    private boolean validStatus;

    @ApiModelProperty("房源状态集合")
    private Set<String> tradeStatusSet;

    @ApiModelProperty("是否新房源")
    private Boolean newStatus;

    @ApiModelProperty("经纪人UUID 查询个人门店房源")
    private String uniqueUuid;

    @ApiModelProperty("城市权限code集合")
    private List<String> cityCodes;

    @ApiModelProperty("磐石小区ID")
    private Long estateRockId;
}
